Xbasic

WRAP_TEXT_HEIGHT Function

Syntax

Height as N = WRAP_TEXT_HEIGHT(C text,N Width[,N offset])

Arguments

text

The text to draw on the bitmap. Character

Width

The width of the rectangle within the text is wrapped. Numeric

offset

Optional. Default = 0. The offset from the left edge of the bitmap where the text begins. Numeric

Description

WRAP_TEXT_HEIGHT() returns the height in inches of the text. Used only in the Code sections of UI_BITMAP_DRAW(), UI_SCREEN_DRAW(), and UI_PRINTER_DRAW().

See Also